package com.pattern.design.Chapter_6.com.devchronicles.factory;

import javax.enterprise.inject.Produces;

public class EventProducer {
	@Produces
	public MessageA messageAFactory() {
		return new MessageA();
	}

	@Produces
	public MessageB messageBFactory() {
		return new MessageB();
	}
}